package com.msb.serviceorder.remote;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.internalcommon.reponese.TerminalResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/25 - 07 - 25 - 14:05
 * @Description: com.msb.serviceorder.remote
 * @version: 1.0
 */
@FeignClient("service-map")
public interface ServiceMapClient {

    @RequestMapping(method = RequestMethod.POST , value = "/terminal/aroundsearch")
    public ResponseResult<List<TerminalResponse>> terminalAroundSearch(@RequestParam String center , @RequestParam Integer radius);

}
